package com.lcf.system.app.controller;


import com.lcf.system.app.service.SysDictAppService;
import com.lcf.system.app.vo.dict.SysDictAppVO;
import com.lcf.system.app.query.SysDictAppQuery;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.Resource;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * 字典值(SysDict)表控制层
 *
 * @author lcf
 * @since 2025-03-16 22:04:23
 */
@Tag(name = "app字典值")
@RestController
@RequestMapping("app/sysDict")
public class SysDictAppController {
    @Resource
    private SysDictAppService sysDictAppService;

    /**
     * 字典列表
     */
    @Operation(summary = "字典列表")
    @GetMapping("list")
    public List<SysDictAppVO> list(@Validated SysDictAppQuery query) {
        return sysDictAppService.list(query);
    }
}

